package cn.humaohua.study.yanmo_design_pattern.ch10.vb;

public class Dep {
    private String id;
    private String name;

    public void setId(String id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public boolean deleteDep() {
        DepUserMediatorImpl meditor = DepUserMediatorImpl.getInstance();
        meditor.deleteDep(id);
        return true;
    }

}
